const common = require("./webpack.common");
const { merge } = require("webpack-merge");
const webpack = require("webpack");
module.exports = merge(common, {
  mode: "development",
  plugins: [
    new webpack.HotModuleReplacementPlugin(),
    new webpack.DefinePlugin({
      "process.env": "development",
    }),
  ],
  devServer: {
    port: 8089,
    host: "127.0.0.1",
    open: true,
    hot: true,
    overlay: { erros: true },
  },
});
